<template>
  <div class="discounts">
    <div>
      <van-nav-bar
        title="收货地址"
        left-text=""
        left-arrow
        @click-left="onClickLeft"
      >
        <template #right>
          <van-icon
            name="search"
            size="18"
          />
        </template>
      </van-nav-bar>
    </div>
    <!-- 优惠券单元格 -->
    <van-coupon-cell
      :coupons="coupons"
      :chosen-coupon="chosenCoupon"
      @click="showList = true"
    />
  </div>
</template>

<script>
export default {
  data() {
    return {
    }
  },
  methods: {
    onClickLeft() {
      this.$router.push({ path: '/me' })
    }
  }
}
</script>

<style>
</style>
